FROM openjdk:8-jdk-alpine
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
ADD target/ccuap-tc-admin-1.1-SNAPSHOT.jar /app.jar
ENTRYPOINT ["/usr/bin/java", "-Dspring.profiles.active=docker", "-jar", "/app.jar"]
EXPOSE 8080